package com.tencreat.service.pt;

import java.util.List;
import com.tencreat.common.core.domain.model.ReqIdParam;
import com.tencreat.common.core.domain.model.ReqIdsParam;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tencreat.domain.pt.MallPtUserIncomeRecord;

/**
 * 拼团收益记录Service接口
 *
 * @author tencreat
 * @date 2021-11-27
 */
public interface IMallPtUserIncomeRecordService  extends IService<MallPtUserIncomeRecord> {
    /**
     * 查询拼团收益记录
     *
     * @param id 拼团收益记录ID
     * @return 拼团收益记录
     */
    public MallPtUserIncomeRecord selectMallPtUserIncomeRecordById(ReqIdParam id);

    /**
     * 查询拼团收益记录列表
     *
     * @param mallPtUserIncomeRecord 拼团收益记录
     * @return 拼团收益记录集合
     */
    public List<MallPtUserIncomeRecord> selectMallPtUserIncomeRecordList(MallPtUserIncomeRecord mallPtUserIncomeRecord);

    /**
     * 新增拼团收益记录
     *
     * @param mallPtUserIncomeRecord 拼团收益记录
     * @return 结果
     */
    public int insertMallPtUserIncomeRecord(MallPtUserIncomeRecord mallPtUserIncomeRecord);

    /**
     * 修改拼团收益记录
     *
     * @param mallPtUserIncomeRecord 拼团收益记录
     * @return 结果
     */
    public int updateMallPtUserIncomeRecord(MallPtUserIncomeRecord mallPtUserIncomeRecord);

    /**
     * 批量删除拼团收益记录
     *
     * @param ids 需要删除的拼团收益记录ID
     * @return 结果
     */
    public int deleteMallPtUserIncomeRecordByIds(ReqIdsParam ids);

    /**
     * 删除拼团收益记录信息
     *
     * @param id 拼团收益记录ID
     * @return 结果
     */
    public int deleteMallPtUserIncomeRecordById(ReqIdParam id);
}
